package com.ruoyi.system.mapper;

import java.util.List;
import com.ruoyi.system.domain.CondolencePayments;

/**
 * 慰问金申请Mapper接口
 * 
 * @author ruoyi
 * @date 2024-01-16
 */
public interface CondolencePaymentsMapper 
{
    /**
     * 查询慰问金申请
     * 
     * @param id 慰问金申请主键
     * @return 慰问金申请
     */
    public CondolencePayments selectCondolencePaymentsById(Long id);

    /**
     * 查询慰问金申请列表
     * 
     * @param condolencePayments 慰问金申请
     * @return 慰问金申请集合
     */
    public List<CondolencePayments> selectCondolencePaymentsList(CondolencePayments condolencePayments);

    /**
     * 新增慰问金申请
     * 
     * @param condolencePayments 慰问金申请
     * @return 结果
     */
    public int insertCondolencePayments(CondolencePayments condolencePayments);

    /**
     * 修改慰问金申请
     * 
     * @param condolencePayments 慰问金申请
     * @return 结果
     */
    public int updateCondolencePayments(CondolencePayments condolencePayments);

    /**
     * 删除慰问金申请
     * 
     * @param id 慰问金申请主键
     * @return 结果
     */
    public int deleteCondolencePaymentsById(Long id);

    /**
     * 批量删除慰问金申请
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteCondolencePaymentsByIds(Long[] ids);
}
